package com.bakerj.infinitecards;

import ohos.agp.components.Component;

/**
 * AnimationTransformer
 *
 * @author BakerJ
 * @since : 2021.5.24
 */
public interface AnimationTransformer {
    void transformAnimation(Component view, float fraction, int cardWidth, int cardHeight,
                            int fromPosition, int toPosition);

    void transformInterpolatedAnimation(Component view, float fraction, int cardWidth, int cardHeight,
                                        int fromPosition, int toPosition);
}
